package com.reader.cms.service.sys;

import com.baomidou.mybatisplus.plugins.Page;
import com.reader.cms.entity.sys.SysMenu;
import com.reader.cms.entity.sys.SysUser;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiahaikun
 * @date 2018-07-26
 */
public interface ISysMenuService extends IService<SysMenu> {
    List<SysMenu> getUserMenus(SysUser sysUser);
    List<SysMenu> getAllMenus();
    List<SysMenu> getAllMenusManagement(); //获取菜单管理所需菜单集合
    Page<Map<String, Object>> selectListPage(int currentPage, int size, Integer parentId, String name);

    List<SysMenu> getAllResources();

    List<Integer> getRoleMenu(Integer id);


}
